package com.javasoft.entity.XGX;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Entity
@TableName("question")
public class Question implements Serializable {
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String des;
    private String type;
    private String opta;
    private String optb;
    private String optc;
    private String optd;
    private String ans;
    private String knopoint;
    private Long difrank;
    private String subject;
    private LocalDateTime creatTime;
}
